% orig code: https://zhuanlan.zhihu.com/p/471457420
function ShowCurveAndCtrls(C,Ctrls)

plot(C(:,1),C(:,2),'Marker','.','LineStyle','-','color',[.3 .6 .9],'LineWidth',3);
hold on;
plot(Ctrls(:,1),Ctrls(:,2),'o','LineWidth',1,'MarkerEdgeColor','k','MarkerFaceColor','g','MarkerSize',6);
line(Ctrls(:,1), Ctrls(: ,2));

end